home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
c_lang
/
varinc.lzh
/
PAGE230.C
< prev
next >
Wrap
Text File
|
1979-11-30
|
277b
|
6 lines
short matrix[2][3], row, col;
for (row = 0; row < 2; ++row) /* Loop through each row */
for (col = 0; col < 3; ++col) /* and each column. */
matrix[row][col] = row * 3 + col; /* Assign this value. */